package com.hsteach.web.controller.rota.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@ApiModel(description = "新增值班人员")
@Data
public class ListRotaRecordVo implements Serializable {

    /** id */
    @ApiModelProperty(value = "id" )
    private Long id;

    /** 值班表id */
    @ApiModelProperty(value = "值班表id" )
    private Long rotaId;

    /** 值班日期 */
    @ApiModelProperty(value = "值班日期 yyyy-MM-dd" )
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dutyDate;

    @ApiModelProperty(value = "值班记录" )
    List<RotaRecordVo> records;
}
